package com.aos.erp.message.mapper;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.message.model.MTParamInfo;
import com.aos.erp.message.model.vo.MTParamVo;
import org.apache.ibatis.annotations.Update;

public interface MTParamMapper extends SuperMapper<MTParamInfo>  {

    @Update("update t_mt_param set update_time=now(),mtp_item='${mtpItem}',mtp_desc='${mtpDesc}',update_user='${optUser}' where id=#{id}")
    void updateParamItem(MTParamVo dataInfo);

    @Update("update t_mt_param set is_del=-1 where id=#{arg0}")
    void deleteParamItem(long noticeId);
}
